import { getHeatMap } from './HeatMap'

export { getHeatMap }

import http from '@/utils/api/index'

export const getSiteInfo = async () => {
  let res = await http.get('/system/info/list')
  let obj = {}
  res.data.rows.map((o) => {
    obj[o.infoKey] = o.infoValue
  })
  return obj
}

export const getSocialLink = async () => {
  let res = await http.get('/system/link/list')
  return res.data.rows || []
}
